import React, { Component } from 'react';
import './index.scss';
class Com extends Component {
  constructor (props) {
    super(props);
  }
  render () {
    return(
      <div className='box2'>
        <header className="header">
          <div className="back" onClick={
            () => {
              this.props.history.goBack();
            }
          }>
            <span>&lt;&ensp;返回</span>
          </div>
          <p>关注公众号</p>
          <div className="rackHome">
            <span className="iconfont icon-shouye" onClick={
              () => {
                this.props.history.push('/home');
              }
            }></span>
          </div>
        </header>
        <div className="content">
          <div class="step">
            <div class="stepTitle">
              <div>一、</div>
              <div>截图，去微信，点击右上角扫一扫，点击相册，选择刚刚截的图那张图，关注公众号</div>
            </div>
          </div>
          <div class="stepImg">
            <img src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQFt8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyWlNHZE1WYjRmUTAxMDAwMDAwM0kAAgSSRUdZAwQAAAAA" alt="#" />
          </div>
          <div class="step">
            <div class="stepTitle">
              <span>二、</span>
              <p>微信，搜索【追书神器服务号】，关注公众号</p>
            </div>
          </div>
        </div>
      </div>
    )
  }
}
// const Com = () => {
//   return(
//     <div className='box2'>
//       <header className="header">
//         <div className="back" onClick={
//           () => {
//             this.props.history.goBack();
//           }
//         }>
//           <span>&lt;&ensp;返回</span>
//         </div>
//         <p>关注公众号</p>
//         <div className="rackHome">
//           <span className="iconfont icon-shouye" onClick={
//             () => {
//               this.props.history.push('/home');
//             }
//           }></span>
//         </div>
//       </header>
//       <div className="content">
//         <div class="step">
//           <div class="stepTitle">
//             <div>一、</div>
//             <div>截图，去微信，点击右上角扫一扫，点击相册，选择刚刚截的图那张图，关注公众号</div>
//           </div>
//         </div>
//         <div class="stepImg">
//           <img src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQFt8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyWlNHZE1WYjRmUTAxMDAwMDAwM0kAAgSSRUdZAwQAAAAA" alt="#" />
//         </div>
//         <div class="step">
//           <div class="stepTitle">
//             <span>二、</span>
//             <p>微信，搜索【追书神器服务号】，关注公众号</p>
//           </div>
//         </div>
//       </div>
//     </div>
//   )
// }
export default Com;